<?php  
//@session_save_path($_SERVER['DOCUMENT_ROOT'].'/tmp');//生成session路径
@session_cache_limiter("private, must-revalidate");
@session_cache_limiter("private, must-revalidate");   
@session_start();
//include_once("xq_string.php");
//setcookie("cookie_name", "您好", time() + (3600*24*30)); //建立
    if(isset($_SESSION['cks'])&&$_SESSION['cks']!=""){
		if($_SESSION['cks']!="0")
		{
	//setcookie("my_login_id", $_SESSION['userid'],time()+3600*24*30);
	//setcookie("my_login_xy", $_SESSION['cks'] ,time()+3600*24*30);
	$_SESSION['cks']="0";
		}
}
?>